const mongoose = require('mongoose');

var detailSchema = mongoose.Schema({
  title: String,
  slideimglist:Array,
  houseprice: Number,
  directionlist: String,
  railway: String,
  notfirstfloor: String,
  area: String,
  id: String,
  floor: String,
  houselocation: String,
  senddate:Number,
  heat:Number,
  collections: Number,
});

var detailModel = mongoose.model('details', detailSchema);

module.exports = detailModel;